<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><tiles:insertAttribute name="title" ignore="true"/></title>

    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/bootstrap/bootstrap.min.css"/>"/>


    <script src="<c:url value="/resources/js/jquery.js" />"></script>
    <script src="<c:url value="/resources/js/bootstrap.js" />"></script>
    <script src="<c:url value="/resources/js/main.js" />"></script>
    <script src="<c:url value="/resources/js/json2.js" />"></script>
    <script src="<c:url value="/resources/js/tinymce/jquery.tinymce.min.js" />"></script>
    <script src="<c:url value="/resources/js/bootstrapValidator.js" />"></script>
    <link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/layout.css"/>"/>
    <link rel="stylesheet" href="<c:url value="/resources/css/bootstrapValidator.min.css" />"/>
    <link rel="stylesheet" href="<c:url value="/resources/css/layout.css" />"/>
    <style type="text/css">
        /* Override feedback icon position */
        .form-horizontal .has-feedback .input-group .form-control-feedback {
            top: 0;
            right: -30px;
        }
    </style>
</head>
<body>
<script>
    $(document).ready(function () {
        $("textarea").tinymce({
            script_url: '<c:url value="/resources/js/tinymce/tinymce.min.js"/>',
            theme: "modern",

            menu: {},
            plugins: "image,link,media,sh4tinymce,media,autolink,wordcount,lists",
            toolbar: "insertfile undo redo | bold italic | sh4tinymce image link media |  bullist numlist"
        })
    });
</script>
<tiles:insertAttribute name="header"/>
<div class="container">

    <div class="row">
        <div class="col-md-3 sidebar">
            <tiles:insertAttribute name="menu"/>
        </div>
        <div class="col-md-9">
            <tiles:insertAttribute name="body"/>
        </div>


    </div>
</div>
<div class="container">
    <tiles:insertAttribute name="footer"/>
</div>
</body>
</html>